const config = require('./webpack.common.js')
module.exports = {
    // mode: "none",
    ...config,

    module: {
        rules: [
            ...config.module.rules,
            {
                enforce: 'pre',
                test: /\.(js|vue)$/,
                loader: 'eslint-loader',
                exclude: /node_modules/
            }
        ],
    }
};